package projorientado.ocr.vfeature;

import projorientado.spi.GenericServiceProviderInterface;

public class FeaturesComparatorProvider extends GenericServiceProviderInterface<FeaturesComparator> {
    
    private static final FeaturesComparatorProvider instance = new FeaturesComparatorProvider();
    
    private FeaturesComparatorProvider() {
        
    }
    
    public static FeaturesComparatorProvider getInstance() {
        return instance;
    }
    
    public static FeaturesComparator getFeaturesComparator(String s) {
        return instance.getService(s);
    }
    
    public static FeaturesComparator getFeaturesComparator(String name, String param) {
        return instance.getService(name, param);
    }
}
